<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" Inherits="ProcolDemo.Ideas" Title="Ideas" Codebehind="Ideas.aspx.cs" EnableEventValidation="False" %>
<%@ Import Namespace="ProcolDemo.IdeasReference"%>
<%@ Import Namespace="ProcolServices"%>

<asp:Content ID="Content1" ContentPlaceHolderID="PHtitle" runat="Server">
    Ideas
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PHCSS" runat="Server">
    <link rel="stylesheet" href="CSS/index.css" type="text/css" media="screen" />
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="PHsidebar" runat="Server">
<asp:HiddenField ID="userRoleField" runat="server" />  <!-- cambiar de lugar -->
    <div id="ideasTags">
        <table width="200">
        <tr>
            <td align="center"><h2>T A G S</h2><br /></td>
        </tr>
        <asp:Repeater ID="IdeasTagsSidebar" runat="server">
            <ItemTemplate>
            <tr><td style="padding-top:3px; padding-left:10px" align="left">
                <a href="Ideas.aspx?op=tag&idTag=<%# ((IdeaTagBean)Container.DataItem).idTag %>">
                <%# ((IdeaTagBean)Container.DataItem).text %></a>
                (<%# ((IdeaTagBean)Container.DataItem).number %>)
            </td></tr>
            </ItemTemplate>
        </asp:Repeater>
        </table>
    </div>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="PHcontent" runat="Server">
    <!--   SEARCH   -->
    <div id="searchIdea" runat="server" class="contentContainer">
        <asp:Panel ID="PanelSearch" runat="server">
            <table width="651"><tr>
            <td align="left" style="padding-left:50px; padding-top:10px;">
            <asp:TextBox ID="txtSearch" runat="server" BorderWidth="1px" Width="200" autocomplete="off"
                onkeypress="return CkKeyPress(event);" onkeydown="return CkKeyPress(event);"
                Font-Size="12px" AutoCompleteType="Disabled" AutoPostBack="True"
                BackColor="White" OnTextChanged="txtSearch_TextChanged" />
            <asp:Button ID="SimpleSearch" runat="server" Text="Search" 
                onclick="SimpleSearch_Click" />
            </td>
            <td align="right">
            <div id="advancedSearchTitle" runat="server">
            <h1>Advanced Search
            <asp:Image ID="searchIdeasExpColImg" runat="server" ImageUrl="~/images/expand.jpg" />
            </h1>
            </div>
            </td>
            </tr></table>
        </asp:Panel>
        <asp:Panel ID="searchIdeasPanel" runat="server">
            <br /><br />
            <center>
            <table width="600" style="border-width:0px;">
                <tr height="40">
                <td width="50%" align="right"><span class="h2projects">Category:</span></td>
                <td width="50%" align="left">
                    <select name="cathgory">
                    <option>Choose category</option>
                    <option>Computer</option>
                    <option>Economy</option>
                    <option>Science</option>
                    <option>Design</option>
                    <option>Art</option>
                    <option>Social</option>
                    </select>
                </td>
                </tr>
                <tr height="40">
                <td width="50%" align="right"><span class="h2projects">Major:</span></td>
                <td width="50%" align="left">
                    <select name="major">
                        <option></option>
                        <option></option>
                    </select>
                </td>
                </tr>
                <tr height="40">
                <td width="50%" align="right"><span class="h2projects">Semester:</span></td>
                <td width="50%" align="left">
                    <select name="semester">
                        <option>Choose semester</option>
                        <option>1</option>
                        <option>2</option>
                        <option>3</option>
                        <option>4</option>
                        <option>5</option>
                        <option>6</option>
                        <option>7</option>
                        <option>8</option>
                        <option>9</option>
                        <option>10</option>
                    </select>
                </td>
                </tr>
                <tr height="40">
                <td align="center" colspan="2">
                    <asp:Button runat="server" id="AdvancedSearch" CssClass="MyTeams" text="search" />
                </td>
                </tr>
            </table>
            </center>
        </asp:Panel>
        <ajaxToolkit:CollapsiblePanelExtender ID="CollapsiblePanelExtender1" runat="Server"
            TargetControlID="searchIdeasPanel"
            CollapsedSize="0"
            ExpandedSize="200"
            Collapsed="True"
            ExpandControlID="advancedSearchTitle"
            CollapseControlID="advancedSearchTitle"
            AutoCollapse="False"
            AutoExpand="False"
            ImageControlID="searchIdeasExpColImg"
            ExpandedImage="~/images/collapse.jpg"
            CollapsedImage="~/images/expand.jpg"
            ExpandDirection="Vertical"/>
        <ajaxToolkit:AutoCompleteExtender ID="txtSearch_AutoCompleteExtender" runat="server"
            DelimiterCharacters="" Enabled="True" ServicePath="~/Proxies/IdeasProxy.asmx"
            ServiceMethod="GetIdeasNames" TargetControlID="txtSearch" MinimumPrefixLength="1"
            CompletionInterval="1" />
    </div>
    
    <!--   CREATE NEW IDEA   -->
    <div id="newIdea" runat="server" class="contentContainerFollow">
        <asp:Panel ID="newsprojectsTitle" runat="server">
            <h1>
                <asp:Label ID="AUTO_IDEAS_NEWIDEA" runat="server" />
                <asp:Image ID="projectExpColImg" runat="server" ImageUrl="~/images/expand.jpg" />
            </h1>
        </asp:Panel>
        <asp:Panel runat="server" ID="createIdeaPanel">
            <br />
            <center>
                <table class="contentTable" width="500">
                    <tr ><td width="100%" align="right" colspan=2>
                        <asp:Label ID="NewIdeaMessage" runat="server" Text="Se ha agregado una idea." Font-Bold="true"  
                            Width="100%" BackColor="#6699ff" Visible="false"></asp:Label>
                        </td></tr>
                    <tr height="30" valign="top">                        
                        <td width="35%" align="right"><span class="newIdea">Nombre:</span></td>
                        <td width="65%" align="left"><asp:TextBox ID="newIdea_ideaName" runat="server"
                            BorderWidth="1px" Width="300" BackColor="White" class="editIdeasInput" /></td>
                    </tr>
                    <tr height="30" valign="top">
                        <td align="right"><span class="newIdea">Category:</span></td>
                        <td align="left"><asp:TextBox ID="newIdea_ideaCategory" runat="server" BorderWidth="1px"
                            Width="300" BackColor="White" class="editIdeasInput" /></td>
                    </tr>
                    <tr height="30" valign="top">
                        <td align="right"><span class="newIdea">Tutor:</span></td>
                        <td align="left">
                            <asp:DropDownList ID="tutorIdList" runat="server"
                                style="background-color:White; border-width:1px;" Width="305" />
                         </td>
                    </tr>
                    <tr height="30" valign="top">
                        <td align="right"><span class="newIdea">Tags:</span>
                            <br /><span class="newIdea_Small">(separated by commas)</span></td>
                        <td align="left"><asp:TextBox ID="newIdea_ideaTags" runat="server" BorderWidth="1px"
                            Width="300" BackColor="White" class="editIdeasInput" /></td>
                    </tr>
                    <tr height="170" valign="top">
                        <td align="right" valign="top"><span class="newIdea">Description:</span></td>
                        <td align="left"><asp:TextBox ID="newIdea_ideaDescription" runat="server" BorderWidth="1px"
                            Width="300" BackColor="White" class="editIdeasInput" TextMode="MultiLine" Height="150" /></td>
                    </tr>
                    <tr height="30" valign="top">
                        <td>&nbsp;</td>
                        <td align="center"><asp:Button ID="Button1" runat="server" Text="OK" /></td>
                    </tr>
                </table>
            </center>
        </asp:Panel>
        <ajaxToolkit:CollapsiblePanelExtender ID="CollapsiblePanelExtender2" runat="Server"
            TargetControlID="createIdeaPanel"
            CollapsedSize="0"
            Collapsed="True"
            ExpandControlID="newsprojectsTitle"
            CollapseControlID="newsprojectsTitle"
            AutoCollapse="False"
            AutoExpand="False"
            ImageControlID="projectExpColImg"
            ExpandedImage="~/images/collapse.jpg"
            CollapsedImage="~/images/expand.jpg"
            ExpandDirection="Vertical" />
         <ajaxToolkit:ModalPopupExtender ID="newIdeaMessPopUpExtender" runat="server"
	               TargetControlID="Button1"
	               PopupControlID="createIdeaMessage"
	               BackgroundCssClass="modalBackgroundComments" 
	               DropShadow="true"  
         />        
    </div>
    <!--   NEW IDEA POP-UP   -->
        <asp:Panel ID="createIdeaMessage" runat="server" CssClass="modalPopupComments" Style="display:none">
            <br /><br /><asp:Label ID="AUTO_IDEAS_NEW_MESSAGE" runat="server" /><br /><br />
            <br /><br /><asp:Button ID="okNewIdeaMessage" runat="server" Text="OK" OnClick="Button1_Click"/><br /><br />
        </asp:Panel>
    <!--   MY IDEAS   -->
    <div id="myIdeas" runat="server" class="contentContainerFollow">
        <asp:Panel ID="MyIdeasHeaderPanel" runat="server">
            <h1>My Ideas
            <asp:Image ID="MyIdeasPanelExpImg" runat="server" ImageUrl="~/images/expand.jpg" />
            </h1>
        </asp:Panel>
        <asp:Panel ID="MyIdeasBodyPanel" runat="server">
            <br />
            <center>
            <table align="center" width="600" style="border-width:1px; border-collapse:collapse;">
                <tr bgcolor="#808080">
                    <td width="73%" style="border-width:1px; border-style:solid; border-color:#FFFFFF;" height="30" align="center"><span style="color:White; font-weight:bold;">Nombre</span></td>
                    <td width="15%" style="border-width:1px; border-style:solid; border-color:#FFFFFF;" height="30" align="center"><span style="color:White; font-weight:bold;">Fecha</span></td>
                    <td width="12%" style="border-width:1px; border-style:solid; border-color:#FFFFFF;" height="30" align="center"><span style="color:White; font-weight:bold;">Opciones</span></td>
                </tr>
                <asp:Repeater ID="ShowMyIdeas" runat="server">
                    <ItemTemplate>
                        <tr bgcolor="#EFEFEF" onmouseover="this.bgColor='#CCCCCC';" onmouseout="this.bgColor='#EFEFEF';">
                            <td style="border-width:1px; border-style:solid; border-color:#FFFFFF; cursor:pointer" height="30" width="55%" onclick="document.location.href='Ideas.aspx?op=ideaInfo&ideaId=<%# ((IdeaBean)Container.DataItem).ideaId %>';">
                                &nbsp;
                                <%# ((IdeaBean)Container.DataItem).name %>
                            </td>
                            <td style="border-width:1px; border-style:solid; border-color:#FFFFFF;" height="30" width="15%" align="center">
                                <%# ((IdeaBean)Container.DataItem).dateCreated.Day %>/<%# ((IdeaBean)Container.DataItem).dateCreated.Month %>/<%# ((IdeaBean)Container.DataItem).dateCreated.Year %>
                            </td>
                            <td style="border-width:1px; border-style:solid; border-color:#FFFFFF;" height="30" width="15%" align="center">
                                <% if (userRoleField.Value.Equals("0")){ %><a href="Ideas.aspx?op=editIdea&ideaId=<%# ((IdeaBean)Container.DataItem).ideaId %>"><img id="editButton" src="~/images/edit.png" runat="server" onclick="" title="Edit Idea" /></a><% } %>
                                <% if (userRoleField.Value.Equals("0")){ %>&nbsp;<asp:ImageButton runat="server" ImageUrl="~/images/delete.png" title="Delete Idea" OnCommand="deleteIdea_Click" CommandArgument="<%# ((IdeaBean)Container.DataItem).ideaId %>" /><% } %>
                                <% if (userRoleField.Value.Equals("1")){ %><img id="convertButton" src="~/images/convert.png" runat="server" title="Convert into Project" /><% } %>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </table>
            </center>            
        </asp:Panel>
        <ajaxToolkit:CollapsiblePanelExtender ID="cpeCreateInterests" runat="Server"
            TargetControlID="MyIdeasBodyPanel"
            CollapsedSize="0"
            Collapsed="False"
            ExpandControlID="MyIdeasHeaderPanel"
            CollapseControlID="MyIdeasHeaderPanel"
            AutoCollapse="False"
            AutoExpand="False"
            ImageControlID="MyIdeasPanelExpImg"
            ExpandedImage="~/images/collapse.jpg"
            CollapsedImage="~/images/expand.jpg"
            ExpandDirection="Vertical" />
            
    </div>
    
    <!--   SEARCHING FOR A TAG   -->
    <div id="searchForTag" runat="server" class="contentContainer">
        <h1>Tag: <asp:Label ID="searchForTag_TagName" runat="server" /></h1>
        <br />
        <center>
        <table align="center" width="600" style="border-width:1px; border-collapse:collapse;">
            <tr bgcolor="#808080">
                <td width="85%" style="border-width:1px; border-style:solid; border-color:#FFFFFF;" height="30" align="center"><span style="color:White; font-weight:bold;">Nombre</span></td>
                <td width="15%" style="border-width:1px; border-style:solid; border-color:#FFFFFF;" height="30" align="center"><span style="color:White; font-weight:bold;">Fecha</span></td>
            </tr>
            <asp:Repeater ID="searchForTagTable" runat="server">
                <ItemTemplate>
                    <tr bgcolor="#EFEFEF" onmouseover="this.bgColor='#CCCCCC';" onmouseout="this.bgColor='#EFEFEF';">
                        <td style="border-width:1px; border-style:solid; border-color:#FFFFFF; cursor:pointer" height="30" width="55%" onclick="document.location.href='Ideas.aspx?op=ideaInfo&ideaId=<%# ((IdeaBean)Container.DataItem).ideaId %>';">
                            &nbsp;
                            <%# ((IdeaBean)Container.DataItem).name %>
                        </td>
                        <td style="border-width:1px; border-style:solid; border-color:#FFFFFF;" height="30" width="15%" align="center">
                            <%# ((IdeaBean)Container.DataItem).dateCreated.Day %>/<%# ((IdeaBean)Container.DataItem).dateCreated.Month %>/<%# ((IdeaBean)Container.DataItem).dateCreated.Year %>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
        </center>
    </div>

    <!--   RESULTS   -->
    <div id="results" runat="server">
        <br />
        <center>
        <table align="center" width="650" style="border-width:1px; border-collapse:collapse;">
            <tr bgcolor="#808080">
                <td width="85%" style="border-width:1px; border-style:solid; border-color:#FFFFFF;" height="30" align="center"><span style="color:White; font-weight:bold;">Nombre</span></td>
                <td width="15%" style="border-width:1px; border-style:solid; border-color:#FFFFFF;" height="30" align="center"><span style="color:White; font-weight:bold;">Fecha</span></td>
            </tr>
            <asp:Repeater ID="ShowResults" runat="server">
                <ItemTemplate>
                    <tr bgcolor="#EFEFEF" onmouseover="this.bgColor='#CCCCCC';" onmouseout="this.bgColor='#EFEFEF';">
                        <td style="border-width:1px; border-style:solid; border-color:#FFFFFF; cursor:pointer" height="30" width="55%" onclick="document.location.href='Ideas.aspx?op=ideaInfo&ideaId=<%# ((IdeaBean)Container.DataItem).ideaId %>';">
                            &nbsp;
                            <%# ((IdeaBean)Container.DataItem).name %>
                        </td>
                        <td style="border-width:1px; border-style:solid; border-color:#FFFFFF;" height="30" width="15%" align="center">
                            <%# ((IdeaBean)Container.DataItem).dateCreated.Day %>/<%# ((IdeaBean)Container.DataItem).dateCreated.Month %>/<%# ((IdeaBean)Container.DataItem).dateCreated.Year %>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
        </center>
    </div>
    
    <!--   DISPLAY IDEA'S INFORMATION   -->
    <div id="ideaInfo" runat="server" class="contentContainer">
        <h1><asp:Label ID="displayIdea_ideaName" runat="server" /></h1>
        <br />
        <center>
            <br />
            <table class="contentTable" width="550">
                <tr height="20" valign="top">
                    <td align="right" width="25%"><span class="editIdeas">Rating:</span></td>
                    <td align="left" width="75%">
                        <img id='star1' src='~/images/star.gif' runat='server' /><img id='star2' src='~/images/star.gif' runat='server' /><img id='star3' src='~/images/star.gif' runat='server' /><img id='star4' src='~/images/star.gif' runat='server' /><img id='star5' src='~/images/star.gif' runat='server' />
                    </td>
                </tr>
                <tr height="20" valign="top">
                    <td align="right"><span class="editIdeas">Category:</span></td>
                    <td align="left" width="75%">
                        <asp:Label ID="displayIdea_ideaCategory" runat="server" class="editIdeasInput" />
                    </td>
                </tr>
                <tr height="20" valign="top">
                    <td align="right"><span class="editIdeas">Tutor:</span></td>
                    <td align="left" width="75%">
                        <asp:Label ID="displayIdea_tutorName" runat="server" class="editIdeasInput" />
                        <asp:HyperLink ID="userProfileLink2" runat="server">
                            <img src= "~/images/user_info_tool_14.png" title="Ver Perfil" border="0" runat="server" />
                        </asp:HyperLink>
                    </td>
                </tr>
                <tr height="20" valign="top">
                    <td align="right"><span class="editIdeas">Creator:</span></td>
                    <td align="left" width="75%">
                        <asp:Label ID="displayIdea_ideaOwner" runat="server" class="editIdeasInput" />
                        <asp:HyperLink ID="userProfileLink" runat="server">
                            <img src= "~/images/user_info_tool_14.png" title="Ver Perfil" border="0" runat="server" />
                        </asp:HyperLink>
                    </td>
                </tr>
                <tr height="20" valign="top">
                    <td align="right"><span class="editIdeas">Creation date:</span></td>
                    <td align="left" width="75%">
                        <asp:Label ID="displayIdea_ideaCreationDate" runat="server" class="editIdeasInput" />
                    </td>
                </tr>
                <tr height="20" valign="top">
                    <td align="right" valign="top"><span class="editIdeas">Tags:</span></td>
                    <td align="left" width="75%">
                        <asp:Label ID="displayIdea_ideaTags" runat="server" class="editIdeasInput" />
                    </td>
                </tr>
                <tr height="20" valign="top">
                    <td align="right" valign="top"><span class="editIdeas">Description:</span></td>
                    <td align="left" width="75%">
                        <asp:Label ID="displayIdea_ideaDescription" runat="server" class="editIdeasInput" />
                    </td>
                </tr>
            </table>
            <br />
            <table class="contentTable" width="550">
                <tr>
                    <td width="55%">
                        <asp:HiddenField ID="isOwner" runat="server" />
                        <asp:HiddenField ID="ideaIdField" runat="server" Value="hola" />
                        <asp:HiddenField ID="ideaIdValueComment" runat="server" />
                    </td>
                    <td align="center" width="15%" valign="top">
                    </td>
                    <td align="center" width="15%" valign="top">
                        <% if (userRoleField.Value.Equals("1")){ %><a href="#"><img id="convertButton" src="~/images/convertBig.png" runat="server" /><br /><span class="buttonsText">Convert into<br />Project</span></a><% } %>
                        <% if (userRoleField.Value.Equals("0") && isOwner.Value.Equals("true")){ %><asp:HyperLink ID="editIdeaLink" runat="server"><img id="editButton" src="~/images/editBig.png" runat="server" /></asp:HyperLink><br /><span class="buttonsText">Edit</span></a><% } %>
                    </td>
                    <td align="center" width="15%" valign="top">
                        <% if (!isOwner.Value.Equals("true")){ %><a runat="server" id="subscribeLink"><img ID="subscribeButton" src="~/images/subscribe.png" runat="server" /><br /><span class="buttonsText">Subscribe</span></a><% } %>
                        <% if (userRoleField.Value.Equals("0") && isOwner.Value.Equals("true")){ %><a href="#"><img id="deleteButton" src="~/images/deleteBig.png" runat="server" /><br /><span class="buttonsText">Delete</span></a><% } %>
                    </td>
                </tr>
            </table>
            <br />
        </center>
    </div>
    
    <!--   SUBSCRIBE CONFIRMATION POP-UP   -->
    <asp:Panel ID="subscribeConfirmationPopUp" runat="server" CssClass="modalPopupComments" Style="display:none">
        <asp:Button ID="CancelButton2" runat="server" Text="Cancel" />
        <asp:Button ID="OkButton" runat="server" Text="OK" />
    </asp:Panel>
    
    <!--   DISPLAY IDEA'S COMMENTS   -->
    <div id="displayComments" runat="server" class="contentContainerFollow">
        <asp:Panel ID="IdeasCommentsHeaderPanel" runat="server">
            <table width="651"><tr>
            <td align="left" style="padding-left:50px; padding-top:10px;">
                <a href="#" id="newIdeaLink" runat="server"><img src="~/images/newComment.png" runat="server" />&nbsp;<span class="buttonsText">New Comment</span></a>
            </td>
            <td align="right">
                <div id="IdeasCommentsExpander" runat="server">
                <h1>Comments
                <asp:Image ID="IdeasCommentsPanelExpImg" runat="server" ImageUrl="~/images/expand.jpg" /></h1>
                </div>
            </td></tr></table>
        </asp:Panel>
        <asp:Panel ID="IdeasCommentsBodyPanel" runat="server">
            <center>
            <br /><br /><br />
            <table width="550">
            <div id="noComments" runat="server"></div>
            <asp:Repeater ID="displayIdeasComments" runat="server">
                <ItemTemplate>
                    <tr>
                        <td style="border-top: dotted thin Gray; padding-top:7px;">
                        <span class="commentTitle"><%# ((IdeaCommentBean)Container.DataItem).title %></span>
                        <br /><span class="commentSubTitle">Written by <%# ((IdeaCommentBean)Container.DataItem).creatorName %> - <%# ((IdeaCommentBean)Container.DataItem).dateCreated.Day %>/<%# ((IdeaCommentBean)Container.DataItem).dateCreated.Month %>/<%# ((IdeaCommentBean)Container.DataItem).dateCreated.Year %> - <%# ((IdeaCommentBean)Container.DataItem).dateCreated.Hour %>:<%# ((IdeaCommentBean)Container.DataItem).dateCreated.Minute %></span>
                        <br /><span class="commentBody"><%# ((IdeaCommentBean)Container.DataItem).comment %></span>
                        <br /><br />
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
            </table>
            </center>
        </asp:Panel>
        <ajaxToolkit:CollapsiblePanelExtender ID="CollapsiblePanelExtender3" runat="Server"
            TargetControlID="IdeasCommentsBodyPanel"
            CollapsedSize="0"
            Collapsed="True"
            ExpandControlID="IdeasCommentsExpander"
            CollapseControlID="IdeasCommentsExpander"
            AutoCollapse="False"
            AutoExpand="False"
            ImageControlID="IdeasCommentsPanelExpImg"
            ExpandedImage="~/images/collapse.jpg"
            CollapsedImage="~/images/expand.jpg"
            ExpandDirection="Vertical" />
        <ajaxToolkit:ModalPopupExtender ID="newIdeaPopUpExtender" runat="server"
            TargetControlID="newIdeaLink"
            PopupControlID="newIdeaPopUp"
            BackgroundCssClass="modalBackgroundComments" 
            DropShadow="true" 
         />
    </div>
    
    <!--   NEW IDEA POP-UP   -->
    <asp:Panel ID="newIdeaPopUp" runat="server" CssClass="modalPopupComments" Style="display:none">
        <br />Please provide a title:<br /><br />
        <asp:TextBox ID="newCommentTitle" runat="server" BorderWidth="1px"
            Width="300" BackColor="White" class="editIdeasInput" TextMode="SingleLine"/><br />
        <br />Please enter your comment:<br /><br />
        <asp:TextBox ID="newCommentText" runat="server" BorderWidth="1px"
            Width="300" BackColor="White" class="editIdeasInput" TextMode="MultiLine" Height="150" />
        <br /><br /><asp:Button ID="CancelButton" runat="server" Text="Cancel" />
        <asp:Button ID="PostButton" runat="server" Text="Post" OnClick="postComment_Button_Click"/>
        <br /><br />
    </asp:Panel>
    
    <!--   EDIT IDEA'S INFORMATION   -->
    <div id="editIdea" runat="server" class="contentContainer">
        <h1>Edit Idea's Information</h1>
        <br />
        <center>
            <br /><br />
            <table class="contentTable" width="500">
                <tr height="30" valign="top">
                    <td width="35%" align="right"><span class="editIdeas">Nombre:</span></td>
                    <td width="65%" align="left"><asp:TextBox ID="editIdea_ideaName" runat="server"
                        BorderWidth="1px" Width="300" BackColor="White" class="editIdeasInput" EnableViewState="false"/></td>
                </tr>
                <tr height="30" valign="top">
                    <td align="right"><span class="editIdeas">Category:</span></td>
                    <td align="left"><asp:TextBox ID="editIdea_ideaCategory" runat="server" BorderWidth="1px"
                        Width="300" BackColor="White" class="editIdeasInput" /></td>
                </tr>
                <tr height="30" valign="top">
                        <td align="right"><span class="newIdea">Tutor:</span></td>
                        <td align="left">
                            <asp:DropDownList ID="editIdeaTutorId" runat="server"
                                style="background-color:White; border-width:1px;" Width="305" />
                         </td>
                    </tr>
                <tr height="30" valign="top">
                    <td align="right"><span class="editIdeas">Tags:</span>
                        <br /><span class="editIdeas_Small">(separated by commas)</span></td>
                    <td align="left"><asp:TextBox ID="editIdea_ideaTags" runat="server" BorderWidth="1px"
                        Width="300" BackColor="White" class="editIdeasInput" /></td>
                </tr>
                <tr height="170" valign="top">
                    <td align="right" valign="top"><span class="editIdeas">Description:</span></td>
                    <td align="left"><asp:TextBox ID="editIdea_ideaDescription" runat="server" BorderWidth="1px"
                        Width="300" BackColor="White" class="editIdeasInput" TextMode="MultiLine" Height="150" /></td>
                </tr>
                <tr height="30" valign="top">
                    <td>
                        <asp:HiddenField ID="ideaIdValue" runat="server" />
                    </td>
                    <td align="center"><asp:Button ID="editIdea_OKButton" runat="server" Text="OK"  OnClick="editIdea_OKButton_Click"/></td>
                </tr>
            </table>
        </center>
    </div>
    
    <br />
    
    <!-- FILE UPLOAD
    <div>
    <asp:FileUpload ID="FileUpload" runat="server" /><br />
    <br />
    <asp:Button ID="FileUploadButton" runat="server" OnClick="ButtonFileUpload_Click" 
     Text="Upload File" />&nbsp;<br />
    <br />
    <asp:Label ID="lblFileUpload" runat="server"></asp:Label></div>
    -->
</asp:Content>